<template>
  <div class="security">
    <div class="container">
      <div class="back-button">
        <router-link to="/" class="back-btn">
          <i class="fas fa-arrow-left"></i>
          {{ t('backToHome') }}
        </router-link>
      </div>
      
      <div class="product-hero">
        <div class="product-hero-content">
          <h1>{{ t('securitySystem') }}</h1>
          <p>全方位智能安防解决方案，采用AI技术实现智能识别和预警</p>
          <div class="price-tag">¥25,999</div>
        </div>
      </div>
      
      <div class="coming-soon">
        <h2>详细信息即将推出</h2>
        <p>我们正在完善安防监控系统的详细信息，敬请期待！</p>
      </div>
    </div>
  </div>
</template>

<script setup>
import { useI18n } from '../composables/useI18n'

const { t } = useI18n()
</script>

<style scoped>
.security {
  padding-top: 80px;
  min-height: 100vh;
  background: #f8f9fa;
}

.back-button {
  margin-bottom: 2rem;
}

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(142, 68, 173, 0.1);
  color: #8e44ad;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.back-btn:hover {
  background: rgba(142, 68, 173, 0.2);
  transform: translateX(-5px);
}

.product-hero {
  background: linear-gradient(135deg, #8e44ad 0%, #9b59b6 100%);
  color: white;
  padding: 3rem 0;
  text-align: center;
  margin-bottom: 3rem;
  border-radius: 20px;
}

.product-hero h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .product-hero h1 {
    font-size: 3rem;
  }
}

.product-hero p {
  font-size: 1rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .product-hero p {
    font-size: 1.2rem;
  }
}

.price-tag {
  font-size: 1.5rem;
  font-weight: bold;
  color: #ffd700;
}

@media (min-width: 768px) {
  .price-tag {
    font-size: 2rem;
  }
}

.coming-soon {
  background: white;
  padding: 3rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.coming-soon h2 {
  color: #2c3e50;
  margin-bottom: 1rem;
}

.coming-soon p {
  color: #7f8c8d;
  font-size: 1.1rem;
}
</style>
